package com.liang.crawlertx2.dao;

import com.liang.crawlertx2.pojo.News;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface NewDao extends MongoRepository<News,String> {
    List<News> findByUrl(String url);
}
